package com.ysu.demo.service.impl;

import com.ysu.demo.dataobject.College;
import com.ysu.demo.mapper.CollegeMapper;
import com.ysu.demo.service.ICollegeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lhw
 * @since 2019-08-21
 */
@Service
public class CollegeServiceImpl extends ServiceImpl<CollegeMapper, College> implements ICollegeService {

    @Override
    public List<College> findlist() {
        List<College> res = this.list();

        return res;
    }
}
